projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
494ec1e
)
* electric.el (global-map): Really bind C-j.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 20 Mar 2014 22:00:20 +0000
(18:00 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 20 Mar 2014 22:00:20 +0000
(18:00 -0400)
Fixes: debbugs:16770
lisp/electric.el
patch
|
blob
|
history
diff --git
a/lisp/electric.el
b/lisp/electric.el
index 4e24101dd6a384c98cbbaa789e99c9c32e3b3cc0..91262a2338151e59d6e028fb8a6b5aa201e75930 100644
(file)
--- a/
lisp/electric.el
+++ b/
lisp/electric.el
@@
-286,7
+286,8
@@
mode set `electric-indent-inhibit', but this can be used as a workaround.")
(let ((electric-indent-mode nil))
(newline arg 'interactive)))
-;;;###autoload(define-key global-map "\C-j" 'electric-newline-and-maybe-indent)
+;;;###autoload
+(define-key global-map "\C-j" 'electric-newline-and-maybe-indent)
;;;###autoload
(defun electric-newline-and-maybe-indent ()
"Insert a newline.